﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>方法库</title>

    <link href="//cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
    <link href="//cdn.bootcss.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="//cdn.bootcss.com/bootstrap-select/1.10.0/css/bootstrap-select.min.css" rel="stylesheet">

    <link href="~/Content/Css/featured.css" rel="stylesheet" />
    <!--<script src="//cdn.bootcss.com/jquery/1.9.1/jquery.min.js"></script>-->
    <script src="https://cdn.bootcss.com/jquery/3.2.0/jquery.js"></script>
    <script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
    <script src="//cdn.bootcss.com/jquery.form/3.51/jquery.form.min.js"></script>
    <script src="//cdn.bootcss.com/bootstrap-filestyle/1.2.1/bootstrap-filestyle.min.js"></script>
    <script src="//cdn.bootcss.com/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
    <script src="~/Content/Js/featured.js"></script>
</head>
<body>
    <nav class="navbar navbar-default" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-navbar-collapse">
                    <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/">
                    <img src="http://www.bhi.com.cn/images/logo.png" />
                </a>
            </div>
            <div class="collapse navbar-collapse" id="bs-navbar-collapse">
            </div>
        </div>
    </nav>

    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="page-header">
                    <h3>
                        内容管理
                    </h3>
                </div>
                <button type="button" class="btn btn-primary" id="get">
                    <i class="fa fa-refresh"></i> 刷新
                </button>
                <button type="button" class="btn btn-primary" id="create">
                    <i class="fa fa-plus"></i> 新建
                </button>
                <table class="table table-striped table-hover" id="t1">
                    <thead>
                        <tr>
                            <th>#</th>
                            <th>名称</th>
                            <th>内容</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody></tbody>
                </table>
            </div>
        </div>

    </div>


    <div class="modal fade" id="createmodal" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        ×
                    </button>
                    <h4 class="modal-title">
                        BHI - 首页推荐管理
                    </h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" id="createform">
                        <fieldset>
                            <div class="form-group">
                                <label class="col-md-2 control-label" for="Featured_URL">标题</label>
                                <div class="col-md-9">
                                    <input id="Featured_Title" name="Featured_Title" type="text" placeholder="" class="form-control input-md" required="">
                                </div>
                                <label class="col-md-2 control-label" for="Featured_URL">内容</label>
                                <div class="col-md-9">
                                    <input id="field_MethodContent" name="field_MethodContent" type="text" placeholder="" class="form-control input-md" required="">
                                </div>
                            </div>
                        </fieldset>
                    </form>



                    <div class="modal-footer">
                        <button type="button" class="btn btn-primary" id="ok">
                            确定
                        </button>
                        <button type="button" class="btn btn-default" data-dismiss="modal">
                            取消
                        </button>
                    </div>

                </div>
            </div>
        </div>
    </div>

    <div style="display:none;">
        <form id="ImageForm" action="featured.ashx" method="post" enctype="multipart/form-data">
            <input id="Imageinput" name="file" type="file" onchange="UploadFile(this.files)" />
        </form>
    </div>

    <div class="modal fade" id="deletemodal" role="dialog" aria-hidden="true">
        <div class="modal-dialog  modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        ×
                    </button>
                    <h4 class="modal-title">
                        提示
                    </h4>
                </div>
                <div class="modal-body">
                    是否确认删除?
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary">
                        删除
                    </button>
                    <a class="btn btn-default" data-dismiss="modal">
                        取消
                    </a>
                </div>
            </div>
        </div>
    </div>

</body>
</html>
